package com.cloud.service;

import com.cloud.config.FeignConfig;
import com.cloud.tools.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 *
 * @author： linJianHong
 * @dateTime： 0:26 2022/5/8
 * @Description:
 * @ClassName:
 */

@Component
@FeignClient(value = "nacos-user-data-consumer", configuration = FeignConfig.class)
public interface LoginForTestService {
    @RequestMapping("/natms/user/loginByPhone")
    CommonResult loginByPhone(Map<String,String> map);
}
